<template>
  <div>
    <button @click="getInfo">获取信息</button>
  </div>
</template>

<script>
import axios from 'axios';

export default {
  name: 'App',
  methods: {
    getInfo() {
      axios.post('http://localhost:8080/Cov/fymap2020_data.d.json').then(
          response => {
            console.log(response.data);
          },
          error => {
            console.log('错误信息：', error.message);
          });
    }
  }
}
</script>

<style>

</style>
